//
//  MusicSingleton.h
//  aMoment
//
//  Created by dllo on 15/10/3.
//  Copyright © 2015年 LuckyHan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
#import "Music.h"

@interface MusicSingleton : NSObject

@property(nonatomic, retain)AVPlayer *player;
@property(nonatomic, retain)NSString *currentURL;
@property(nonatomic, assign)NSInteger flag;
@property(nonatomic, retain)NSString *currentRate;
@property(nonatomic, assign)NSTimeInterval currentTime;

@property(nonatomic, retain)Music *musicModel;

+ (MusicSingleton *)shareInstance;
- (void)playMusicWith:(NSString *)urlString;

@end
